package com.css.fxfzaqbz.modules.data.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzaqbz.modules.data.entity.ActiveFaultData;
import com.css.fxfzaqbz.modules.data.queryParams.ActiveFaultDataQueryParams;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ActiveFaultDataService {
    ActiveFaultData updateActiveFaultData(ActiveFaultData activeFaultData);
    ActiveFaultData  saveActiveFaultData(ActiveFaultData activeFaultData);
    JSONObject getAllActiveFaultData(ActiveFaultDataQueryParams queryParams);
    ActiveFaultData getActiveFaultDataById(String id);
    void deleteActiveFaultDatas(List<String> ids);
    //下载表中内容
    List<ActiveFaultData>getAll();
    //导入内容
    void importExcel(MultipartFile file) throws IOException;
}
